package com.laf.manage.mapper.mp;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laf.manage.domain.po.ReceiveRecord;
import com.laf.manage.domain.vo.ReceiveRecordVO;
import com.laf.manage.domain.vo.RecordDetailsVO;

/**
 * 领取记录Mapper接口
 *
 * @author zian
 * @date 2024-11-01
 */
public interface ReceiveRecordMapper extends BaseMapper<ReceiveRecord> {
    /**
     * 领取记录详情
     * @param id
     * @return
     */
    RecordDetailsVO selectReceiveRecordDetails(Long id);

    /**
     * 根据物品id获取领取记录详情
     * @param itemId
     * @return
     */
    ReceiveRecordVO selectReceiveRecordDetailsByItemId(Long itemId);
}
